.tm-asset-modal {
  .ant-modal-body {
    padding: 0 24px !important;
  }

  .ant-modal-header,
  .ant-modal-content {
    background-color: #f4f6f7 !important;
  }

  .ant-modal-header {
    color: #585e65;
  }

  .ant-modal-footer {
    padding: 20px;
    text-align: center;
    border: none;
  }

  .ant-tabs-ink-bar {
    display: none !important;
  }

  .ant-tabs-bar {
    border: none !important;
    margin-bottom: 0;
  }

  .ant-tabs-tab {
    padding: 12px 16px 12px 0;
    margin: 0;
    text-align: left;
  }

  .ant-tabs-tab-active {
    color: #0b6fd6;
  }

  .ant-slider-track {
    background-color: #0b6fd6 !important;
  }

  .ant-slider-handle {
    border-color: #0b6fd6 !important;
  }

  .step-content {
    padding: 16px 24px;
    background-color: #ffffff;
  }

  .title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .item-title {
      display: inline-block;
      margin-right: 30px;
      color: #686c78;
    }

    img {
      margin-bottom: 4px;
      margin-right: 3px;
      height: 10px;
    }

    .clear {
      cursor: pointer;
      font-size: 13px;
      opacity: 0.7;

      &:hover {
        opacity: 1;
      }
    }
  }

  .goal-title,
  .port-title {
    margin-top: 24px;
    margin-bottom: 4px;
  }

  .mode,
  .goal-type,
  .ports-type {
    flex: 1;
  }

  .ips {
    resize: none;
  }

  .ips-wrapper,
  .ports-wrapper {
    position: relative;

    .validate-error {
      position: absolute;
      left: 0;
      bottom: -22px;
    }
  }

  .wmap-wrapper {
    margin: 24px 0 4px;
  }

  .cycle-info {
    margin-top: 24px;
  }

  .ports {
    resize: none;
  }

  .run-at {
    margin-bottom: 16px;
  }

  .run-at-name {
    margin-bottom: 12px !important;
  }

  .urgent {
    margin-bottom: 16px;
  }

  .ant-slider-mark {
    strong {
      font-size: 12px;
      font-weight: 400;
      color: #999ea8;
    }
  }

  .packets-count {
    margin: 0 5px;
    width: 100px;
    text-align: center;
  }

  .custom-packets {
    margin-top: 12px;
    margin-bottom: 0;
  }
  .task-packets {
    margin-bottom: 24px;
  }
  .task-name {
    &-title {
      margin-bottom: 12px;
    }
  }

  .validate-error {
    margin: 1px 0;
    color: #ff0000;
  }

  .port-templates {
    margin-bottom: 4px;
    width: 100%;
    overflow: auto;

    label {
      margin-right: 30px;
      color: #686c78;
    }

    .select-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 4px;
      .ant-select {
        flex: 1;
      }
    }
    .item {
      white-space: pre-wrap;
    }
  }
  &-select-drawdown {
    .ant-select-dropdown-menu {
      max-height: 160px;
      overflow-y: scroll;
    }
    .template-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
  .web-switch {
    margin-left: 16px;
    margin-bottom: 2px;
  }
}
